Added minimum size parameter to GtkWidgetClass->adjust_size_allocation.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Tue, 7 Dec 2010 14:45:48 +0000 (23:45 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Tue, 7 Dec 2010 14:47:40 +0000 (23:47 +0900)
commitfc5cabba90393246886c8122851646ec979b19fa
tree29bff828dfefccf9f0e821032fb86887eaeead4e
parent503be101480b47a098146ac6ac2900fc16855124
Added minimum size parameter to GtkWidgetClass->adjust_size_allocation.

This allows us to add a check before executing
->get_preferred_height_for_width() to ensure we always
request for at least the minimum required size (and lets
us remove the warning in gtkcontainer.c telling implementors
to do this check manually from thier container implementations).
gtk/gtkcontainer.c
gtk/gtksizerequest.c
gtk/gtkwidget.c
gtk/gtkwidget.h